package com.stenio.fancat.mapper.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stenio.fancat.domain.user.UserRelationshipLog;
import org.springframework.stereotype.Repository;

/**
 * @author liuan
 * @create 2019-01-21 11:16
 */
@Repository
public interface UserRelationshipLogMapper extends BaseMapper<UserRelationshipLog> {

    Integer modifyCandy(Integer candy,String userId,Integer babyCandy);

    Integer subtractCandy(Integer candy,String userId,Integer babyCandy);
}
